<?php

class Euso_Db_Table_Abstract extends Zend_Db_Table_Abstract
{
	protected static $_tablePrefix = NULL;

	public static function setTablePrefix($prefix)
	{
		self::$_tablePrefix = $prefix;
	}
	public static function getTablePrefix()
	{
		return self::$_tablePrefix;
	}

	protected function _setupTableName()
	{
		parent::_setupTableName();

		$this->_name = self::$_tablePrefix . $this->_name;
	}
}
